import { Tools } from 'weaver-mobile';

export const emailAdd = params => Tools.callApi({url: '/api/email/add/emailAdd', method: 'GET', params});
export const sendEmail = params => Tools.callApi({url: '/api/email/base/send', method: 'POST', params});
export const signList = params => Tools.callApi({url: '/api/email/add/emailSignList', method: 'GET', params});
export const templateList = params => Tools.callApi({url: '/api/email/add/emailTemplateList', method: 'GET', params});
export const filterRerson = params => Tools.callApi({url: '/api/email/add/filterInternalToNewByClassification', method: 'GET', params});
export const filterOutEmail = params => Tools.callApi({url: '/api/email/add/filterOutEmailAddressByUserid', method: 'GET', params});